package com.sanpu.kxe.business.main.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.main.bean.NoticeOutput;

import java.util.List;

/**
 * Description：消息中心
 * Created by 薛勇军 on 2018/7/23.
 */

public interface NoticeContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 显示消息列表
         */
        void showNoticeListView(List<NoticeOutput> outputs, boolean isFirst);

        /**
         * 上拉加载状态
         */
        void showLoadMore(String loadMore);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 获取消息列表
         */
        void getMessageList(int nowPage);
    }
}
